package safeCommitter.core.diffrunbridge;

import java.util.Set;

import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.action.IAction;
import org.tigris.subversion.subclipse.ui.operations.CommitOperation;

import safeCommitter.model.adpters.ClassEntity;

public interface IExecutorBridge {

	/**
	 * Connects the FindDiffs and the Eecutor Phases of the plugin, either
	 * performing a search for the methods or not.
	 * 
	 * 
	 * @param action
	 *            The action which was originated by the user.
	 * @param javaProject
	 *            The project in which the action is being executed.
	 * @param clazzEntities
	 *            The classes that are being committed or checked.
	 * @param c
	 */
	public void executeTests(final IAction action,
			final IJavaProject javaProject,
			final Set<ClassEntity> clazzEntities, final CommitOperation c);
}
